export default [
  {
    path: '/',
    // component: '@/layouts/index',
    routes: [
      { path: '/', title: '首页', component: '@/pages/Index/index' },
      {
        path: '/user',
        title: '用户页',
        wrappers: [
          '@/wrappers/auth',
        ],
        routes: [
          { path: '/user/one', component: '@/pages/user1', title: '用户页面一' },
          { path: '/user/two', component: '@/pages/user2', title: '用户页面二' },
          { component: '@/pages/404', title: '404', }
        ]
      },
      { path: '/dva', title: 'Dva', component: '@/pages/dva' },
      { path: '/login', title: '登录页', component: '@/pages/login' },
      { component: '@/pages/404', title: '404', }
    ]
  },
  { component: '@/pages/404', title: '404', }
]